package rkw.database.repositories;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.transaction.annotation.Transactional;

import rkw.database.model.MessageReceived;

@Transactional
public interface MessageReceivedRepository extends JpaRepository<MessageReceived, Long> {

	List<MessageReceived> findAllByIsHandledFalseOrderByCreatedAsc();

}
